using System.ComponentModel.DataAnnotations;
using SqlSugar;

namespace FytSoa.Domain.Erp;

/// <summary>
/// erp_流程自定义表单
/// </summary>
[SugarTable("erp_flow_form")]
public class ErpFlowForm:Entity
{
    /// <summary>
    /// 表单名称
    /// </summary>
    [Required]
    [StringLength(30)]
    public string Name { get; set; }

    /// <summary>
    /// 表单Code
    /// </summary>
    [Required]
    [StringLength(20)]
    public string Code { get; set; }

    /// <summary>
    /// 表单内容
    /// </summary>
    public string Form { get; set; }

    /// <summary>
    /// 创建人
    /// </summary>
    public string CreateUser { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    [Required]
    public DateTime CreateTime { get; set; } = DateTime.Now;

    /// <summary>
    /// 更新人
    /// </summary>
    public string UpdateUser { get; set; }

    /// <summary>
    /// 更新时间
    /// </summary>
    public DateTime? UpdateTime { get; set; }


}